package com.ht.medicaltreatment.bean

import io.reactivex.internal.operators.maybe.MaybeIsEmpty

data class CheckGroupBean(
    val code: Int,
    val `data`: CheckGroupBeanData,
    val message: String
)

data class CheckGroupBeanData(
    val haveCheckNumber: Int,//已经核验的数量
    val sghyMarshall: CheckGroupBeanSghyMarshall,
    val sghyMarshallIdList: MutableList<Int> //编组集合，用来切换上下组
)

data class CheckGroupBeanSghyMarshall(
    val centrifugalTime: String,//分离时间
    val checkSuccess: Int,// 0 未核验 1 已核验  2 紧急跳过
    val checkTime: String,
    val globalRemark: String,
    val id: Int,
    val isEsterBlood: Int,// 0不脂血 1 是
    val isHemolysis: Int,// 0不溶血  1是
    val isSubpackagingRequirement: Int,
    val micropipetteNo: Any,
    val `operator`: Any,
    val remark: String,
    val rfidSampleDestroyList: List<Any>,
    val rfidSampleList: MutableList<CheckGroupBeanRfidSample>,
    val sequenceNumber: Int,
    val sghyOrder: CheckGroupBeanSghyOrder,
    val stabilizingSolutionTime: Any
)

data class CheckGroupBeanRfidSample(
    val anticoagulationType: Any,
    val barCode: Any,
    val bloodSpecification: Any,
    val bloodType: Any,
    var checkType: Int,//0未核验  1已核验   找了一个后台不用的字段，自己定义的
    val codePath: Any,
    val isEmpty: Boolean, //是否需要替换  自己定义的
    val expectedReturnDate: Any,
    val expireDate: Any,
    val expireWarningDate: Any,
    val id: Int,
    val inputTime: Any,
    val inputUserId: Int,
    val inputUserName: Any,
    val isExist: Int,
    val isTransport: Int,
    val loanCount: Int,
    val loanRemarks: Any,
    val loanTime: Any,
    val loanUserName: Any,
    val name: String,
    val overdueReturnRemarks: Any,
    val project: Any,
    val projectId: Any,
    val reason: Any,
    val remarks: Any,
    val returnPerson: Any,
    val returnRemarks: Any,
    val returnTime: Any,
    val returnWarningDate: Any,
    var rfidCode: String,
    val rfidSampleBox: Any,
    val rfidType: Any,
    val sampleCategoryDict: SampleCategoryDict,
    val sampleCentralLaboratoryNumber: Any,
    val sampleMatrix: Any,
    val sampleSource: Any,
    val sampleStru: Any,
    val sampleStudy: Any,
    val sampleSubject: Any,
    val sampleTime: Any,
    val sampleTreatment: Any,
    val samplingDate: Any,
    val samplingTime: Any,
    val sghyMarshallId: Int,
    val sghySampleType: Int,
    val signDrawBlood: Int,
    val signature: Any,
    val status: Int,
    val stockNum: Any,
    val studyDay: Any,
    val takeLeave: Any,
    val time: Any,
    val warningDays: Int,
    val watsonId: Any
)

data class CheckGroupBeanSghyOrder(
    val checkSign: Int,
    val createTime: String,
    val createUserId: Int,
    val createUserName: String,
    val id: Int,
    val name: String,
    val password: Any,
    val project: Any,
    val projectId: Int,
    val reason: Any,
    val sampleCount: Int,
    val signature: Any
)

data class SampleCategoryDict(
    val createTime: Any,
    val id: Int,
    val name: String,
    val reason: Any,
    val remarks: Any,
    val signature: Any,
    val user: Any,
    val userId: Any
)